package com.smw.cn.dao.main.java.com.smw.cn.dao;
import com.smw.cn.entity.Purchase;
import org.springframework.stereotype.Repository;
import com.smw.cn.model.MyPurchase;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Repository
public interface PurchaseDao {
    int insertSelective(Purchase record);
    Purchase selectNewPurchaseId(@Param("ownName")String ownName);
    List<MyPurchase> selectByPurchase(String name);
}